package com.guiji.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ColumnWidth(16)
public class TestStatistics {

    @ExcelProperty(value = "模块")
    private String module;

    @ExcelProperty(value = "成功数")
    private int success;

    @ExcelProperty(value = "失败数")
    private int error;

    @ExcelProperty(value = "成功比例")
    private String statistics;

    @ExcelIgnore
    private List<TestCase> retry = new ArrayList<>();

    @ExcelProperty(value = "失败接口")
    private String errorApis;

}
